//
//  KDKVOMutableArray.h
//  DCTCustomer
//
//  Created by 姚宗超 on 14-9-15.
//  Copyright (c) 2014年 姚宗超. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KDKVOMutableArray : NSObject
@property (nonatomic, assign)NSUInteger count;
@property (nonatomic, strong)NSMutableArray* innerArray;

+ (instancetype)array;

- (NSUInteger)count;

- (void)insertObject:(id)anObject atIndex:(NSUInteger)index;
- (void)removeObjectAtIndex:(NSUInteger)index;
- (void)addObject:(id)anObject;
- (void)removeObject:(id)anObject;
- (void)removeLastObject;
- (void)insertObjects:(NSArray *)objects atIndexes:(NSIndexSet *)indexes;
- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject;

- (BOOL)containsObject:(id)anObject;

- (id)objectAtIndex:(NSUInteger)objectIndex;

- (void)removeAllObjects;

@end
